<script setup lang="ts">
import { IFollowOption } from '@/models/execute/recmStrategy/FollowStrategy';
import { reactive } from 'vue';

var option = reactive<IFollowOption>({
    followCount: 1,
    reverse: false
})

</script>

<template>

    <van-form>
        <van-cell-group inset>
            <van-field name="followCount" label="跟投">
                <template  #input>
                    <van-stepper v-model="option.followCount" />
                </template>
            </van-field>
            <van-field name="reverse" label="是否反向">
                <template  #input>
                    <van-switch v-model="option.reverse" />
                </template>
            </van-field>
        </van-cell-group>

    </van-form>
</template>